import Vue from 'vue'
import http from './http/index.js'

import App from './App'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import './assets/scss/theme.scss'

if (!process.env.IS_WEB) Vue.use(require('vue-electron'))
Vue.use(ElementUI)

Vue.http = http
Vue.config.productionTip = false

new Vue({
  components: { App },
  router,
  store,
  template: '<App/>'
}).$mount('#app')
